//
//  EnterViewController.h
//  Interventix
//
//  Created by Diego on 14/12/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Utente.h"
#import "CoreDataManager.h"

@interface EnterViewController : UIViewController <UITextFieldDelegate,UITableViewDelegate>

@property (nonatomic,retain) IBOutlet UILabel *nominativo;
@property (nonatomic,retain) IBOutlet UIImageView *logo;
@property (nonatomic,retain) IBOutlet UIButton *order_btn;
@property (nonatomic) BOOL login;

@property (nonatomic, retain) Utente *user;


@property (nonatomic) long long dateUpdate;

@property (nonatomic,retain) IBOutlet UITextField *clienti;

-(IBAction) indietro;
-(IBAction) update;
-(IBAction) addIntervento;
-(IBAction) order;
-(IBAction) option;


@property (nonatomic,retain) IBOutlet UITableView *table;
@property (nonatomic,retain) NSArray *myIntervents, *bufferIntevents;
@property (nonatomic,retain) CoreDataManager *coreDataManager;



@end
